﻿using System;
using Quartz;
using Quartz.Impl;

namespace goAlarmsCS
{
    class alarmJob : IJob
    {
        public alarmJob()
        {  
        }

        #region IJob Members

        public void Execute(JobExecutionContext context)
        {
            QuartzAlarmScheduler qas = QuartzAlarmScheduler.Instance();
            qas.Execute(context.Trigger.Name);
        }

        #endregion
    }
}
